# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class IotcoreInstance(object):

    def __init__(self, instanceId=None, instanceName=None, portalAddress=None, linkDomain=None, instanceStatus=None, progress=None, createdTime=None, updatedTime=None, expiredTime=None):
        """
        :param instanceId: (Optional) 实例标识
        :param instanceName: (Optional) 实例名称
        :param portalAddress: (Optional) 管理平台地址
        :param linkDomain: (Optional) 设备连接域名
        :param instanceStatus: (Optional) 实例状态
创建中：CREATING
运行中：RUNNING
启动中：STARTING
欠费停服：ARREARAGE_STOP
过期停服：EXPIRE_STOP
异常：ERROR    

        :param progress: (Optional) 创建进度，取值范围：[0,100]
        :param createdTime: (Optional) 创建时间，Unix时间戳，精确到毫秒，时间为东八区（UTC/GMT+08:00）
        :param updatedTime: (Optional) 更新时间，Unix时间戳，精确到毫秒，时间为东八区（UTC/GMT+08:00）
        :param expiredTime: (Optional) 到期时间，Unix时间戳，精确到毫秒，时间为东八区（UTC/GMT+08:00）
        """

        self.instanceId = instanceId
        self.instanceName = instanceName
        self.portalAddress = portalAddress
        self.linkDomain = linkDomain
        self.instanceStatus = instanceStatus
        self.progress = progress
        self.createdTime = createdTime
        self.updatedTime = updatedTime
        self.expiredTime = expiredTime
